package com.wechat.it.isales.common.base;

import java.util.List;

public interface BaseService<T> {

	public List<T> findAll();

	public List<T> findByName(String name);

	public T findById(int id);

	public T create(T bean);

	public void update(T bean);

	public void remove(T bean);

	public void removeById(int id);
}